Ext.define('Act.view.region.Main', {
  extend: 'Ext.tab.Panel',
  alias: 'widget.mainregion',

  closeAction: 'hide',
  autoDestroy: false,
  tabPosition: 'top',
  plugins: [{
    ptype: 'tabclosemenu',
    closeAllTabsText: '关闭所有',
    closeOthersTabsText: '关闭其他',
    closeTabText: '关闭'
  }, Ext.create('Ext.ux.TabReorderer')],

  initComponent: function() {
    this.items = [{
      title: '系统首页',
      border: true,
      frame: false,
      bodyCls: 'panel-background',
      reorderable: false,
      layout: 'fit',
    }];
    this.callParent(arguments);
  }

})